package com.yuexin.project.dailymenu.everyday.domain;

import com.yuexin.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 建立周排餐记录表 t_week_dish_log
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public class TWeekDishLog extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 年度 */
	private Integer year;
	/** 周编号 */
	private Integer week;
	/** 开始日期 */
	private Long startDay;
	/** 截止日期 */
	private Long endDay;
	/** 餐别 */
	private String dishType;
	/** 包含品类 */
	private String meansDetails;
	/** 是否发布 (1 是 2否) */
	private String ifPublish;
	/**  */
	private String companyId;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setYear(Integer year) 
	{
		this.year = year;
	}

	public Integer getYear() 
	{
		return year;
	}
	public void setWeek(Integer week) 
	{
		this.week = week;
	}

	public Integer getWeek() 
	{
		return week;
	}
	public void setStartDay(Long startDay) 
	{
		this.startDay = startDay;
	}

	public Long getStartDay() 
	{
		return startDay;
	}
	public void setEndDay(Long endDay) 
	{
		this.endDay = endDay;
	}

	public Long getEndDay() 
	{
		return endDay;
	}
	public void setDishType(String dishType) 
	{
		this.dishType = dishType;
	}

	public String getDishType() 
	{
		return dishType;
	}
	public void setMeansDetails(String meansDetails) 
	{
		this.meansDetails = meansDetails;
	}

	public String getMeansDetails() 
	{
		return meansDetails;
	}
	public void setIfPublish(String ifPublish) 
	{
		this.ifPublish = ifPublish;
	}

	public String getIfPublish() 
	{
		return ifPublish;
	}
	public void setCompanyId(String companyId) 
	{
		this.companyId = companyId;
	}

	public String getCompanyId() 
	{
		return companyId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("week", getWeek())
            .append("startDay", getStartDay())
            .append("endDay", getEndDay())
            .append("dishType", getDishType())
            .append("meansDetails", getMeansDetails())
            .append("ifPublish", getIfPublish())
            .append("companyId", getCompanyId())
            .toString();
    }
}
